<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<base href="__ROOT__/">
<title>{$projectname}</title>
<link href="./Public/Css/app.css" rel="stylesheet">
</head>

<body>
	<div id="app">
		<nav>
			{$topbar}
		</nav>
		<hr style="margin: 3px 0px 0px;">
		<div style="margin: 20px 150px 0px;">
			<div>
				<a href="{$url}mb_SystemManager" class="router-link-active"><button class="func func-activate">管理员列表</button></a>
			</div>
			<div style="margin-bottom: 5px;"></div>
			<div>
				<table border="1" width="100%" class="grid">
					<tr class="tbh">
						<th width="60" style="text-align: center;">NO.</th>
						<th width="100">名称</th>
						<th width="100">账号</th>
						<th width="150">角色权限</th>
						<th>手机</th>
						<th>操作</th>
					</tr>
					{$table}
				</table>
				<button><a href="{$url}mb_SystemManager">刷新</a></button>
				<button><a href="{$url}mb_ManagerAdd">新增</a></button>
				<br> <br>
				<div>
					<script src="./Public/Js/Common.js"></script>
					<form action="{$url}mb_SubmitManagerAmend?name={$name}" method="post">
						<table border="1" width="100%" class="grid">
							<tr>
								<th width="100" class="tbt">名称：</th>
								<td><input id="nick" name="nick" type="text" placeholder="名称" value="{$nick}"></td>
							</tr>
							<tr>
								<th width="100" class="tbt">账号：</th>
								<td><input id="name" name="name" type="text" value="{$name}" disabled="disabled"></td>
							</tr>
							<tr>
								<th class="tbt">密码：</th>
								<td><input id="pass" name="pass" type="text" placeholder="******"></td>
							</tr>
							<tr>
								<th class="tbt">手机号：</th>
								<td><input id="phone" name="phone" type="text" placeholder="11位手机号码" value="{$phone}"></td>
							</tr>
							<tr>
								<th class="tbt">角色权限：</th>
								<td>
									<!-- <input id="level1" name="level" type="radio" value="0" {$level_0}>场地老板 -->
									<input id="level2" name="level" type="radio" value="1" {$level_1}>技术员
									<input id="level3" name="level" type="radio" value="2" {$level_2}>服务员
								</td>
							</tr>
							<tr>
								<td></td>
								<td><button type="submit">保存</button></td>
							</tr>
						</table>
					</form>
				</div>
			</div>
		</div>
	</div>
</body>
</html>

